/****************************************************************************
** Form implementation generated from reading ui file 'logplayerGUI.ui'
**
** Created: Sun Mar 23 17:30:33 2008
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "logplayerGUI.h"

#include <qvariant.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/*
 *  Constructs a logplayerGUI as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
logplayerGUI::logplayerGUI( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "logplayerGUI" );

    QWidget* privateLayoutWidget = new QWidget( this, "Layout3" );
    privateLayoutWidget->setGeometry( QRect( 10, 10, 272, 65 ) );
    Layout3 = new QVBoxLayout( privateLayoutWidget, 0, 3, "Layout3"); 

    TextLabel2 = new QLabel( privateLayoutWidget, "TextLabel2" );
    Layout3->addWidget( TextLabel2 );

    TextLabel3 = new QLabel( privateLayoutWidget, "TextLabel3" );
    Layout3->addWidget( TextLabel3 );

    QuitButton = new QPushButton( this, "QuitButton" );
    QuitButton->setGeometry( QRect( 140, 100, 80, 35 ) );
    languageChange();
    resize( QSize(350, 144).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

/*
 *  Destroys the object and frees any allocated resources
 */
logplayerGUI::~logplayerGUI()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void logplayerGUI::languageChange()
{
    setCaption( tr( "CiberRato Logplayer" ) );
    TextLabel2->setText( tr( "Universidade de Aveiro - 2006" ) );
    TextLabel3->setText( tr( "http://microrato.ua.pt" ) );
    QuitButton->setText( tr( "Quit" ) );
}

